package com.zpphis.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zpp
 * @since 2022-11-22
 */
@TableName("t_department")
public class Department implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 科室编码
     */
    private String deptCode;

    /**
     * 科室名称
     */
    private String deptName;

    /**
     * 科室分类
     */
    private Integer deptCategoryId;

    /**
     * 科室类型
     */
    private Integer deptTypeId;

    /**
     * 删除标记
     */
    private Integer delMark;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getDeptCode() {
        return deptCode;
    }

    public void setDeptCode(String deptCode) {
        this.deptCode = deptCode;
    }
    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }
    public Integer getDeptCategoryId() {
        return deptCategoryId;
    }

    public void setDeptCategoryId(Integer deptCategoryId) {
        this.deptCategoryId = deptCategoryId;
    }
    public Integer getDeptTypeId() {
        return deptTypeId;
    }

    public void setDeptTypeId(Integer deptTypeId) {
        this.deptTypeId = deptTypeId;
    }
    public Integer getDelMark() {
        return delMark;
    }

    public void setDelMark(Integer delMark) {
        this.delMark = delMark;
    }

    @Override
    public String toString() {
        return "Department{" +
            "id=" + id +
            ", deptCode=" + deptCode +
            ", deptName=" + deptName +
            ", deptCategoryId=" + deptCategoryId +
            ", deptTypeId=" + deptTypeId +
            ", delMark=" + delMark +
        "}";
    }
}
